@import '@/style/imports';

.trade-item {
  background: #fff;
  border-radius: $item-border-radius;
  padding: 24px 0 32px 0;
  margin: 0 16px;
  margin-bottom: 24px;
  box-shadow: 0px 2px 10px 0px #eae7e0;

  .icon-globe {
    font-size: 32px;
    margin-right: 10px;
  }
  &__hd {
    padding: 28px $edge-size 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    .more {
      color: $color-link;
      font-size: small;
      text-align: right;
    }
    .right {
      display: flex;
      align-items: center;
    }
  }
  &__bd {
    padding: 0 16px;
  }
  &__dist {
    margin-bottom: 24px;
  }
  &__msg {
    margin: 24px 16px;
    margin-top: 0px;
    .item {
      font-weight: 400;
      font-size: 24px;
    }
    .lineone {
      color: #333333;
    }
    .linetwo {
      color: #999999;
    }
  }
  &__total {
    padding: 0 $edge-size floor($edge-size/2);
    text-align: right;
  }

  &__hd {
    padding: 0 0 10px;
    //height: 44px;
    line-height: 1.4;
    border-bottom: 1px solid #e4e4e4;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 22px;
    color: #a6a6a6;
    .right {
      font-size: 22px;
      color: #a6a6a6;
      .trade-item__shop {
        margin-left: 20px;
      }
    }
  }
  &__ft {
    margin: 0 16px;
  }
  &__total {
    padding: 20px 24px;
    font-size: 22px;
    color: #000;
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    justify-content: flex-end;
    border-radius: 8px;
    &.dadaTotal {
      background: #f5f5f5;
      justify-content: space-between;
    }
  }
  &__ft {
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    &-actions {
      font-size: $font-size-small;
      color: #a6a6a6;
      position: relative;
      z-index: 10;
    }
    &-bd {
      display: flex;
      justify-content: flex-end;
      /*  #ifdef  h5  */
      button {
        border: none;
        margin-left: 15px;
      }
      /*  #endif  */
    }
  }
  &__status {
    font-size: $font-size-small;
    color: #c1c1c1;
    display: inline-block;
    vertical-align: top;
    line-height: 40px;
    flex-shrink: 0;
  }
  &__acts {
    line-height: 40px;
  }
  &__dropdown {
    visibility: hidden;
    opacity: 0;
    background: #4c4c4c;
    border-radius: 6px;
    width: 140px;
    padding: 8px 0;
    margin-left: 25px;
    text-align: center;
    position: absolute;
    z-index: $z-index-dropdown;
    line-height: 40px;
    &.is-active {
      transition: all 0.2s ease-in;
      font-size: $font-size;
      opacity: 1;
      visibility: visible;
    }
    &-item {
      color: #fff;
      line-height: 40px;
      display: block;
      font-size: $font-size-small;
    }
  }
  .dada {
    font-size: 22px;
    color: #999;
    .icon-peisongxiangguan {
      margin-right: 10px;
    }
  }
}
